<template>
	<div class="execution app-container">
		<!-- <basic-container> -->
		<el-scrollbar class="main">
			<iframe :src="src" class="iframe" />
		</el-scrollbar>
		<!-- </basic-container> -->
	</div>
</template>

<script>
import { computed } from 'vue';
import useUserStore from '@/store/modules/userinfo';
const userStore = useUserStore();
const serviceHostUrl = import.meta.env.VITE_APP_REPORT_HOST;
const accessToken = userStore.access_token;

// const src = computed(() => {
// 	return `${serviceHostUrl}/jimu/jmreport/list?token=${accessToken}`;
// });
const src = computed(() => {
	return `${serviceHostUrl}/aj?token=${accessToken}`;
});
</script>

<style lang="scss" scoped>
.iframe {
	width: 100%;
	height: 70vh; /*设置高度百分比,一直调到只有一个滚动调为止*/
	border: 0;
	overflow: hidden;
	box-sizing: border-box;
}
</style>
